package kr.hkit.powerjava.chapter7;

public class Cartext {
	public static void main(String[] args) {
		Car myCar = new Car();
//		myCar.print();
		/*myCar.color = "Red";
		myCar.speed = 100;
		myCar.gear = 5;*/
		
		myCar.setSpeed(100);
		myCar.setgear(5);
		myCar.setcolor
		System.out.println(myCar);
		
		//		myCar.print();
		
		Car myCar2 = new Car();
		
		myCar2.color = "blue";
		myCar2.speed = 60;
		myCar2.gear = 3;
//		myCar2.print();
		System.out.println(myCar2);
	}

}
